MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 2 as of 2013-08-08 15:57:02
  • git

git

Git is a distributed version control and source code management (SCM) system.

http://git-scm.com/

Branch creation based on current branch

  • git branch #show current branch
  • git checkout -b B/20130801/BRANCH-XYZ master # create new branch based on branch master
  • git branch -m B/20130801/BRANCH-XYZ B/20130801/BRANCH-ZZZ # rename local branch
  • git push origin B/20130801/BRANCH-ZZZ # push branch B/20130801/BRANCH-ZZZ to remote

Commit to remote branch

  • git commit -am 'Message commit xyz ' --all #commit locally
  • git pull origin B/20130801/BRANCH-ZZZ # sync with remote branch # fix conflicts and commit conflict resolution
  • git push origin B/20130801/BRANCH-ZZZ # send changes to remote branch

Merge to other branch

  • git checkout master # merge destination branch
  • git pull origin master # sync dest branch
  • git merge --no-ff B/20130801/BRANCH-ZZZ # merge branch B/20130801/BRANCH-ZZZ to branch master
  • git pull origin master
  • git push origin master

Reapply .gitignore

  • cd <projectFolder>

  • git rm -r -f --cached .
  • git add .
  • git status #check files to be commited
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01