Browsing the archives for the Git tag.

Git Ignore Untracked Files

Config

git-logo

If you do not want to see Git messages about build directories or miscellaneous scratch files then add them to your .gitignore file. To do so, create the file, add the directories/files and then add the file to git.

E.g.

touch .gitignore

Edit the file to suit your needs and then add/commit.

git add .gitignore
git commit .gitignore
2 Comments

Push a Branch to Git

Tools

git-logo

I found this example of how to push a branch to Git in the GitHub documentation.

git push <remote_repository_name> <branch_name>

E.g.

git push origin master

Execute this from the base of your local repository. This pushes your local commits to the TOT.

No Comments

Useful Git Links

Tools

git-logo

Switching to Git has been an incremental learning experience. Below, are some useful links for learning about Git:

If you know of other useful introductory Git links, add them in the comments and we will update the post.

2 Comments