Subscribe to RSS - Git

Git

22 ápr 2019

Svn to Git

renko képe

1. Clone your repository by git-svn command
$ git svn clone YOUR_SVN_URL

2. Add your Gitlab url in same directory.
Create GitLab project!
$ git remote add gitlab YOUR_GITLAB_URL

(3.) project mapabol athejezni a gyokere es utana 1 commit ra
git add .
git commit -am "projectet a gyoker konyvtarba athejezve"

4.Finally push your SVN repository to Gitlab.
$ git push — set-upstream gitlab master

Tags: 
08 dec 2018
renko képe

Go to git repo
$ touch ./.git/.gitignore

# ignore all logs
*.log

# ignore the file literally named foo[01].txt
foo\[01\].txt

$ git config --global core.excludesFile ./.git/.gitignore

https://www.atlassian.com/git/tutorials/saving-changes/gitignore

Tags: 
15 dec 2017

Git clone

renko képe

Nem kell feltelepiteni semmi daemont.mehet az egesz sshn keresztul is

git clone user@host:/full/to/repo/prog

Tags: 
06 dec 2017
renko képe

https://help.github.com/articles/changing-a-commit-message/

git rebase -i HEAD~3
Replace pick with reword before each commit message you want to change.
Save and close the commit list file.

Tags: