Code Repository for parallel programming lecture
C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
zettel8
zettel9
.gitignore
README.markdown

README.markdown

Global setup

Next step

  • mkdir mrpara
  • cd mrpara
  • git init
  • touch README
  • git add README
  • git commit -m 'first commit'
  • git remote add origin git@github.com:jk/mrpara.git
  • git push origin master

Exisiting Git Repo?

  • cd existing_git_repo
  • git remote add origin git@github.com:jk/mrpara.git
  • git push origin master

Importing a SVN Repo?

Click here

When you're done

Continue

GitHub specific

Look over the Guidesection. You should also customize your ~/.gitconfig .

.gitconfig

[user]
	name = Jens Kohl
	email = jens.kohl@gmail.com
	signingkey = 8EFDF903
[color]
	status = auto
	diff = auto
	branch = auto
	interactive = auto
[alias]
	st = status
	ci = commit
	co = checkout
	l = log
	staged = diff --cached
	unstaged = diff
	both = diff HEAD
	oneline = log --pretty=oneline
	amend = commit --amend
[merge]
	tool = opendiff
[sendemail]
	smtpserver = example.com
	aliasesfile = /Users/jkohl/.gitaliases
	aliasfiletype = mailrc
	smtpuser = user
	smtppass = geheim
	smtpssl = true
[format]
	numbered = auto
[core]
	legacyheaders = false
	excludesfile = /etc/gitexcludes
	editor = mate -w
[repack]
	usedeltabaseoffset = true
[github]
	user = jk
	token = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Die Daten für die github-Direktive gibt es unter Accounts.

Forken, Pullen und Pushen

Forken sollte man gar nicht, wenn man als Contributor eingetragen ist. Pullen geht mit git pull origin master und pushen mit git push origin master