git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Sample Workflow Help

From
Iissackelly <issac@servee.com>
Date
Aug 27, 2008, 21:27 UTC
Message-ID
<19190079.post@talk.nabble.com>
I'm new to git.  I need some help refactoring my workflow.
Here is my setup.

There are three of us working on one server, each with individual repositories (clones) on the server (this is important because our test environment can't work from branches, it needs to work from actual files)

so, there is the 1_1 folder (main repo) 1_1issac for me 1_1kasey and 1_1josh

So, here is my sample workflow
--Begin doc

I'm Issac. I'm working on some calendar code, on my mac, it's at ~/1_1issac/admin/pageType/calendar/admin.php (this is a clone of my repository)

I've made some local edits, to put it on the server I now do this (on my local terminal)

    cd ~/1_1issac #my root directory
    git commit -a #find all of my changes and commit them to the local
repository
    git push ssh://<server>/<repoDir>/1_1issac
Now, I've made a new icon at /admin/pageType/calendar/icon.png
git add admin/pageType/calendar/icon.png
git commit -a
git push ssh://<server>/<repoDir>/1_1issac

I e-mail kasey "Kasey, I've put a temp icon in the 1_1issac folder under admin/pageType/calendar/icon.png could you give me a better one?"

He does, first he jumps on the server and updates his current working files with the things that I'm working on:

ssh <server> cd <repoDir>/1_1kasey git pull ../1_1issac exit # your back to your regular environment now cd <wherever the stuff you normally work on it>

git pull ssh://<server>/<repoDir>/1_1kasey
#edit my crapy paint drawing
git commit -a
git push ssh://<server>/<repoDir>/1_1kasey
--end

Please tell me what I'm doing wrong (if anything) and what I could be doing better. I've been using git for about two days, and I'm trying to teach my team to as well.

-- 
View this message in context: http://www.nabble.com/Sample-Workflow-Help-tp19190079p19190079.html
Sent from the git mailing list archive at Nabble.com.
Message 1 of 1 in “Sample Workflow Help”
  1. issackellyAug 27, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.