A simple guide to get started with git
- Creating a new repository
- create a new directory using
mkdir [directory name]
- change into directory using `cd [directory name]
- perform
git init
to create a new git repository
- Adding
- propose changes by using
git add <filename>
- Commiting
- To commit the changes you added use
git commit -m "[description message]
- Pushing
- To push your local copy gust
git remote add origin <server>
mkdir [directory name]
cd directory
git init
git add <filename>
git commit -m "[description message]
git remote add origin <server>