Mediabistro Git Configuration: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==Configuration==
==Configuration==


===Logins & workflow===
ssh: [uname]@wmbdev1.iworld.com
ssh: [uname]@wmbdev1.iworld.com


Line 6: Line 7:


[http://wiki.mediabistro.net/index.php?title=Git Git on mediabistro wiki] (including basic workflow)
[http://wiki.mediabistro.net/index.php?title=Git Git on mediabistro wiki] (including basic workflow)
===Repositories===
After logging in with SSH repos are found at
<code>/www/[SITENAME]/git/[USERNAME]/[SITENAME]/</code>
E.g. if my username is <code>dbarchowsky</code> and I need to work on the <code>blogs</code>:
<syntaxhighlight lang="bash">
$ cd /www/blogs/git/dbarchowsky/blogs/
</syntaxhighlight>
==Basic workflow for a new task==
* Log in with SSH.
* Navigate to the appropriate Git repo (see [[#Repositories|Repositories]])
* Get latest version of code
<syntaxhighlight lang="bash">
$ git co master
$ git pull
$ git co -b tm[TASK_ID]
</syntaxhighlight>


==See Also==
==See Also==

Revision as of 17:32, 26 September 2012

Configuration

Logins & workflow

ssh: [uname]@wmbdev1.iworld.com

Git repositories (web interface) l/p:email/super-basic

Git on mediabistro wiki (including basic workflow)

Repositories

After logging in with SSH repos are found at

/www/[SITENAME]/git/[USERNAME]/[SITENAME]/

E.g. if my username is dbarchowsky and I need to work on the blogs:

$ cd /www/blogs/git/dbarchowsky/blogs/


Basic workflow for a new task

  • Log in with SSH.
  • Navigate to the appropriate Git repo (see Repositories)
  • Get latest version of code
$ git co master
$ git pull
$ git co -b tm[TASK_ID]

See Also

Mediabistro Blogs Configuration