...
#### create a directory
mkdir git-repo
cd git repo
####
...
download
...
a
...
copy
...
of
...
the
...
initial
...
upload
git
...
clone
...
https://
...
YOURUSERNAME@bitbucket.org/SLAC-IEPM/imc14-tulip.git
(e.g. git clone https://rlacotrell@bitbucket.org/SLAC-IEPM/imc14-tulip.git)
cd imc14-tulip/
####
...
setup
...
account
git
...
config
...
--global
...
...
"Your
...
Name"
(e.g. git config --global rlacotrell "Les Cottrell")
git config --global user.email you@example.com
(e.g. git-config --global user.email cottrell@slac.stanford.edu)
#### Simplify accessing the URL by adding an alias
git remote remove origin
git remote add origin https://YOURUSERNAME@bitbucket.org/SLAC-IEPM/imc14-tulip.git
#Now you'll just use "origin" when you want to use the URL
...
#### to see the status of the files (modified vs. unmodified)
git status #optional
#### to commit files the -a option allows us to skip the explicit staging of the files. This commits the local copy
git commit -a -m "I revised section XYZ."
...