There is a great deal of documentation and many posts on Git out there, so this is more of a note to self as I keep forgetting the steps needed to set up a remote repository and doing an initial “push”.
So, firstly setup the remote repository:
There is a great deal of documentation and many posts on Git out there, so this is more of a note to self as I keep forgetting the steps needed to set up a remote repository and doing an initial “push”.
So, firstly setup the remote repository:
On local machine:
Done!
Team members can now clone and track the remote repository using the following:
To have your terminal prompt display what branch you are currently on in green, add the following to your ~/.bash_profile: