mirror of
https://github.com/jlengrand/Programming_Tips.git
synced 2026-03-10 08:41:19 +00:00
29 lines
720 B
Markdown
29 lines
720 B
Markdown
# Git and GitHub
|
|
|
|
__INFO: Not really needed anymore . . .__
|
|
|
|
Simple reminders to manage a project with Git and GitHub interface.
|
|
|
|
## Clone a project from my personal GitHub account:
|
|
|
|
```bash
|
|
$ git clone git@github.com:jlengrand&/projet.git
|
|
```
|
|
|
|
## Clone a project from another source:
|
|
|
|
```bash
|
|
$ git clone git://git.berlios.de/gpsd
|
|
```
|
|
|
|
## Push modifications previously locally committed:
|
|
|
|
Should be performed once in a while to keep remote repository up to date. Do not forget to pull before pushing to avoid conflicts.
|
|
|
|
```bash
|
|
$ git push -origin master
|
|
```
|
|
|
|
More information can be found in git documentation
|
|
|
|
__**INFO :** No need to create a folder first, as a main folder is automatically created for the project.__ |