-
Notifications
You must be signed in to change notification settings - Fork 2
Useful commands working with GitBash
mkdir - making a directory
rm - remove
mv - rename file
curl - download
cd - go into a directory/folder
ctrl+c```` or ````ctrl+d - cancel command
cd .. - go to parent/up one level
cat or less - look at a file
ls - local settings
echo - print
pwd - print working directory
run ps - all processes
-f - force command
git status - see all changes to git
git add -A - add the changes
git commit -m "latest" - commit changes
git push - push changes
git pull upstream master - pull changes from the master git repository
tree - directory tree
git.ignore - does not push certain files to github
git remote add upstream https://github.com/joshuacook/UCLA_CSX_450_2_2018_W - add "upstream" to remote configs
git remote set-url upstream https://github.com/UCLAx-Data-Science/2018-W-450-2 - change URL for "upstream" remote config