The articles in this section deal with git in bash. I prefer to use git in a terminal and
not having an IDE in the way. However, the git concepts described here apply no matter if
you use git with your IDE or in bash.
created on | June 22, 2022 |
last modified on | June 28, 2022 |
how to customize git in bash for a more comfortable and efficient working experience...
created on | June 22, 2022 |
last modified on | October 28, 2023 |
configuration of git after initial installation with settings for users, repos and system wide settings...
created on | June 22, 2022 |
last modified on | June 28, 2022 |
how to revert staged and unstaged changes while working with git...
created on | June 22, 2022 |
last modified on | October 27, 2023 |
viewing the commit history with git log with custom formats for more information on less terminal real estate...
created on | June 22, 2022 |
last modified on | June 27, 2022 |
basic operations create a branch – git branch <new branch> checkout a branch – git checkout <branch> list local branches – git branch list remote branches – git git branch -r list local and remote branches – git branch -a delete a local branch – git branch -d <branch> delete a remote branch – git push origin -d <branch> create and checkout a branch in one go git checkout -b <new branch> connecting local branches to upstream git push -u origin new-branch -u is shorthand for --set-upstream...
created on | October 25, 2023 |
There are three ways for creating an archive from a git repo: git archive, git bundle, and plain tarballs....