GIT Bootcamp: Branching and Merging
Back to GIT! Just to have a quick recap of the things we’ve seen in the first part of our GIT deep dive, I am going to create a brand new repo, some files and commit everything:
$ mkdir myrepo2
$ cd myrepo2
$ git init
Initialized empty Git repository in /Users/huidesa/myrepo2/.git/
$ touch file1
$ touch license_agreement
$ touch installer.exe
$ touch hello.lib
$ git status
On branch master
Initial commit
Untracked files:
(use “git add <file>…” to include in what will be committed)
file1
hello.lib
installer.exe
license_agreement
nothing added to commit but untracked files present (use “git add” to track)
$ git add *
$ git status
On branch master
Initial commit
Changes to be committed:
(use “git rm –cached <file>…” to unstage)
new file: file1
new file: hello.lib
new file: installer.exe
new file: license_agreement
$ git commit -m “Creating my project”
[master (root-commit) ac129d8] Creating my project
Committer: Alexandra <[email protected]>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly. Run the
Continue reading


Subscribers MUST READ: New email pilot program to improve our news delivery to you--important changes to delivery schedule. Give us your feedback!