Answers for "git commit check"

9

git commit

git add index.html css/styles.css
git add .
git commit -m "Change titles and styling on homepage"
Posted by: Guest on August-28-2020
5

git checkout commit

git checkout <commit>
Posted by: Guest on May-08-2020
2

git log in command line pretty view

$ git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit

* 3396763 - (HEAD, origin/master, master) Add twitter link (4 days ago) <Mattias Geniar>
* c73bbc9 - add facebook link (6 days ago) <Mattias Geniar>
* cb555df - More random values (6 days ago) <Mattias Geniar>
*   60e7bbf - Merge pull request #1 from TSchuermans/patch-1 (7 days ago) <Mattias Geniar>
|
| * 8044a8f - Typo fix (7 days ago) <Tom Schuermans>
|/
Posted by: Guest on August-03-2020

Browse Popular Code Answers by Language