[git-users] Re: Deletions without `git rm'

2011-06-30 Thread Lars Pensjö
I like to use git gui for this. You get a nice view of what has been 
staged and not staged. You can easily select what shall go into the commit, 
or not.

Notice that clicking on the left side of a file name (on the file symbol) 
adds or removes the whole file.

It is also possible to right click on a single change and add/remove it from 
the stage.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/7OPuU4CVuyYJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Branches and workflow

2011-08-27 Thread Lars Pensjö
If you start you new branch without the content of changes from other 
branches, I suppose there is the possibility to use git rebase to change 
your mind later on.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/i-DBuTasVxEJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Pulling the latest Linux kernel and rebasing the code

2011-09-26 Thread Lars Pensjö
There are some simple guide lines, the way I see it. Pleae correct me if I 
got it wrong.

Suppose you have  a local repo, and a global that you push to. The rule is 
to be careful when you remove commits that are already pushed to the global 
repo.

For example, git commit --amend will remove a commit and replace it with a 
new one. This could lead to problems if the previous commit was pushed. The 
git rebase will also remove commits from one point, and add new commit 
elsewhere. There are other ways in git to remove commits, like git reset 
--hard. So it is not only about git rebase.

And as Konstantin says, rewriting the tree is ok if the team that use the 
repo knows about it.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/QVwHWQknRb0J.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: Where to put a git repo?

2011-11-12 Thread Lars Pensjö
Just to double check, but are you sure speed is an important factor?

When you git clone, you get a copy anyway, which is as fast as you can 
get it. It is only the push and pull that are affected, and you might not 
need them as frequently. There are other advantages of having the 
repository on another server, like redundancy (in case of a crash).

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/MzIG4LrA5ZAJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: Git Revert, Checkout and Reset for Dummies

2011-12-05 Thread Lars Pensjö
There are some excellent explanations above. But still, I would like to 
recommend: http://progit.org/2011/07/11/reset.html. If you give it your 
time, you will understand quite well how and why it works the way it works.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/N1xvjwR3GeMJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Repository temporarily unavailable

2012-01-03 Thread Lars Pensjö
The situation is that a team member can not access the common repository 
for a couple of weeks. However, he will have access to email.

What is the best way to send changes back and forth? Using git 
format-patch with git am?

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/Ki_sqJgfkCAJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Repository temporarily unavailable

2012-01-03 Thread Lars Pensjö
Thanks, just what I wanted.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/6OdLtgYL-I0J.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Checkout older revisions

2012-01-29 Thread Lars Pensjö
Really basic question, but I can't find out how to checkout commits using 
gitk. I know how to do it with the command prompt, but I want to use 
git-gui. In gitk, it is possible to click on commits and doing reset. 
But I just want to do a git checkout on the selected commit.

A typical example is when searching for a bug. You want to checkout, 
compile, and test. I also know there is automatic support for this, but it 
requires that you have an automated test.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/FF3eGtG-TVkJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: Proper git model for multiple instance

2012-01-30 Thread Lars Pensjö
I think you need to say a little more of the 5 websites. Is it 5 
different applications, based on common libraries? How much commonality is 
it? Do they depend on each other in release cycles? Maybe it is the same 
product, tweaked to support 5 major customers with various requirements?

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/mbpSk4AoLqAJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Can I fix this problem with branch renaming?

2012-03-22 Thread Lars Pensjö
On Thursday, 22 March 2012 10:03:21 UTC+1, tombert wrote:

 Interesting post, but this puzzles me:

 On Thursday, March 22, 2012 8:52:12 AM UTC+1, radovan bast wrote:

 obviously i wouldn't do this if you have already pushed the commits

 I guess it is a problem if some other people commit on the wrong master 
 branch?


It is not only that. A push to a remote repository is only possible if it 
is a Fast Forward change. That means you can only push added commits.

If you change your local tree in other ways, you will be required to do a 
merge from the remote first. And that would negate the changes you did.

It is possible to push --force, but I think it is dangerous. Especially if 
someone else already had done a pull.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/Rmzlv0cxjHAJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



Re: [git-users] Looking for a reccommendation of a GUI git interface for Windows

2012-09-11 Thread Lars Pensjö
You are missing my favorite, msysgit ( http://msysgit.github.com/ ).

On Tuesday, 11 September 2012 09:42:28 UTC+2, Martin Møller Skarbiniks 
Pedersen wrote:

 On 11 September 2012 04:39, dmanexe dman...@gmail.com javascript: 
 wrote: 
  Hello, I am rolling out a git solution for one of my clients, but 
 they're 
  running Windows and I cannot think of a good GUI git client for Windows. 
 The 
  client wants to use git, and wants a GUI client, but doesn't want to 
 pick 
  what software they're using. Does anyone have a recommendation? Bonus 
 points 
  for something open-source, but I am open to some paid solutions too. 

 There are many options. 

 http://windows.github.com/ 
 http://code.google.com/p/gitextensions/ 
 http://code.google.com/p/tortoisegit/ 
 https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools 

 Enjoy 

 Martin 


-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/IcLYMqWoxL4J.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.