Skip to content

Resources

Syntax for git commands and other useful tools

I saw that some other students in past years of Fab Academy included a page on their website sharing syntax for git commands, keyboard shortcuts, and other useful tools. I am compiling my own list here for reference.

git status
git add //followed by the file path to the material you want to update...or by just a period!
git commit -m "what you did"
git push

Some helpful tips

  • On a Mac: select a group of files and right click to rename then. I use text expander and a shorcut zfil to rename my files.
  • To get the file paths, I have been putting my files into word and finding and replace the beginning string–which is always fab–with the file path and and jpg with jpg”)”. = I get all the file names via terminal, using ls -1 to make the list output in a single column.
  • I sync my photos from my phone to dropbox so I can get them on my computer quickly. I download what I want from the cloud (I don’t have the desktop app turned on). I tried google photos but it was glitchy and not uploading everything.

Last update: February 16, 2022