DEV Community

Cover image for Unix and Git
Faisal Mahboob
Faisal Mahboob

Posted on

Unix and Git

Using Unix and Git was interesting and realizing they are almost used all the time during development encourages beginners like me to learn it thoroughly.

Git is important for teams because they help save previous version of the projects while newer branches are being worked on. This way previous versions can be retrieved at any time when ever required. Git also helps that every one in the team can receive a copy of the whole project files remotely at any time.

Some of the basic commands of Unix regarding files are

  1. touch
  2. echo
  3. head
  4. tail
  5. cat
  6. grep
  7. nano
  8. rm

Commands using directories are

  1. mkdir
  2. rmdir
  3. git
  4. mv
  5. git cp
  6. git branch
  7. git checkout
  8. git pull
  9. git push
  10. git clone

Learning Unix and Git could take as much as two days. If you're interested you'll find it really useful as a developer.

Thanks for reading :) !

Top comments (0)