What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-10-25 12:59:07
git gss
# ---------------------- # Git Aliases # ---------------------- alias ga='git add' alias gaa='git add .' alias gaaa='git add --all' alias gau='git add --update' alias gb='git branch' alias gbd='git branch --delete ' alias gc='git commit' alias gcm='git co... Add solution -
-
TypeScript 2021-10-21 21:03:06
how to see all commits in git
$ git log --pretty=format:"%h - %an, %ar : %s" ca82a6d - Scott Chacon, 6 years ago : Change version number 085bb3b - Scott Chacon, 6 years ago : Remove unnecessary test a11bef0 - Scott Chacon, 6 years ago : Initial commit Add solution -
Shell/Bash 2021-10-21 06:39:23
git find commit by message
git log --all --grep='Build 0051' Add solution -
Shell/Bash 2021-10-21 06:17:05
command to check recent commit
git log --name-status HEAD^..HEAD Add solution -
-
Shell/Bash 2021-10-08 09:51:11
how to revert to earlier commit git
//Git Rollback to a specific commit via Mac terminal //Navigate to project and open git log cd projectname git log --oneline //Locate and checkout the desired commit ID git checkout abc1234 . //(Type q to quit the git log) //Stage All changes, commit... Add solution -
Best helpers
Ranking is empty