tmschl / inventory

For all the dinkuses out there.
0 stars 0 forks source link

git branching #4

Closed robbschiller closed 11 years ago

robbschiller commented 11 years ago

Dude.

So, I made the local develop branch and did some work on it getting Grunt setup and trying to use the Grunt task for compiling sass. I don't know if I fully understand the how I'm supposed to use the branches quite yet. Here's how it sits in my head.

Step by step.

I don't really get what is supposed to happen from there because that's where my understanding ends...

tmschl commented 11 years ago

Haha, okay so

To summarize. You are always working on a feature branch. Whenever you are on your local dev branch it will be to pull changes that have happened remotely i.e. make sure your local branch is up to date with the remote one. The only other time you will be on it is to merge your feature branches into it.

Make sense? It's tricky, and really you just have to play with it.

robbschiller commented 11 years ago

Ok.

That's pretty much what I was thinking I think. I made a develop branch already though... Did you see that?

tmschl commented 11 years ago

Yo, I just edited my above comment, hit it to early

tmschl commented 11 years ago

You made a dev branch but you pushed it to master, I think. You needed to git push origin development

robbschiller commented 11 years ago

I think I get it.

I don't know if it's a ton different that what I was thinking, other than I have never used lookup or fetch before. I had pushed some changes to the remote branch that's literally called develop. I think you keep using short terms for development, but I made a branch on the remote server that's literally called develop. Can you see that?

tmschl commented 11 years ago

Yeah, it's there. lookup is the name of the feature not a git command. Sorry if that was confusing.

robbschiller commented 11 years ago

You taught me how to do this.