This is an old revision of the document!


Git HOWTO : https://github.com/Labka-cz/Irssi_scripts

Request access to shared repo by email to Over at labka.cz

Create project from existing directory

# cd ~/directory
# git init
# git add . -A ## add all files in repository

* in case you want to add dot files

## git add -f .gitignore

# git commit -m "First commit" ## add first commit with comet to be ready to be uploaded to git[hub]
## create project directory on GitHub, and copy its link by buton "Clone or download" where you can get its URL
# git remote add origin //remote repository URL//
# git push -u origin master ## push you commit to remote URL repo

Evey day use of Git[Hub]

# cd to already inited directory
# git add . -a ## or you can add just specific file
# git commit -m "write what is your commit about"
# git push

* when you want to download last changes from with changes from repo, to already inited dir

# git pull

Branches / forks

* ToDo

Howto connect GitHub to IRC

* ToDo

Howto create project WebPage directly by GitHub

* ToDo

  • project/git.1480252169.txt.gz
  • Last modified: 2016/11/27 14:09
  • by over23