Last active
July 27, 2021 14:01
-
-
Save tomasoak/f53d6e13f82ec1e40b6045876ea73deb to your computer and use it in GitHub Desktop.
Git Aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This .gitconfig file will definitely help to increase your productivity | |
# It can be accessed through the Visual Studio Code, whithin your user folder, open the CMD and type: "code .gitconfig". | |
# You need to have the VSCode mapped in your Environment Variables | |
[user] | |
name = ____ | |
email = ____@____ | |
[color] | |
added = green | |
changed = yellow | |
untracked = red | |
[alias] | |
ci = commit | |
co = checkout | |
cm = checkout master | |
cb = checkout -b | |
st = status -sb | |
sf = show --name-only | |
unstage = reset HEAD -- | |
undo = checkout -- | |
rollback = reset --soft HEAD~1 | |
rollfoward = commit -c ORIG_HEAD | |
conflicts = !git ls-files -u | cut -f 2 | sort -u |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment