Skip to content

fenixn/gitconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Useful Git Configurations

Setup

Open up your .gitconfig file in your editor. On Windows 10, this file is usually located at C:/Users/[YourUser]/.gitconfig

You can also use this shell command to edit your file in your shell no matter what your setup is.

git config --global --edit

Alias

The .gitconfig in this repository has aliases that should make some git commands more convenient to call. For example, aa is the alias for add all.

So you can run the command below to add all updated files to your commit

git aa

Another example is c which is the alias for commit -m. You can run the command below to commit with a message

git c "Your commit message."

See the .gitconfig file for a list of all aliases and add the ones your like to your .gitconfig file.

About

Useful git configurations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published