git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Noob Question
@ 2012-12-21  1:07 awingnut
  2012-12-21  1:43 ` Andrew Ardill
  0 siblings, 1 reply; 7+ messages in thread
From: awingnut @ 2012-12-21  1:07 UTC (permalink / raw)
  To: git

I have not used git yet but am planning to. I am trying to get my head
around how it will work and the documentation I found so far is of
modest help. I currently have a Java application developed using Eclipse
on Windows. However, the project is located on a Linux shared drive
which is my Eclipse workspace. I do my builds using ANT on the Linux
host. My main questions center around the git repository and accessing it.

1) Should I install git on Linux or Windows or does it matter?
2) How will my build scripts access the source? Will it be the same as
now (my scripts 'cd' to the Eclipse project directory and run there) or
do I need to add a wrapper to my script to check out the entire source
for the builds?
3) How do I move my current Eclipse project into git after I create the
empty repository? I can only find info on how to import git into Eclipse
not the other way around.
4) Do I need to checkout the entire project from Eclipse to modify and
test it or only the classes I want to change? Does the plugin get the
others as needed when I run the app within Eclipse for testing?

Thanks for any help understanding how I need to configure all this.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* noob question
@ 2011-01-13 23:58 Harry Johnson
  2011-01-14 11:10 ` Thomas Rast
  0 siblings, 1 reply; 7+ messages in thread
From: Harry Johnson @ 2011-01-13 23:58 UTC (permalink / raw)
  To: git

I am completely new to git and have only read the tutorial as well as
some git for subversion users documentation. Our company is
considering switching from subversion to git and I have been doing
some experimenting and have run across a potential problem. Our
systems are kubuntu/linux.

I have used git-svn to create a git repo from our subversion repo. I
have done this as user foo which is just an account that is used for
doing central builds. I have then cloned this as repo as myself,
harry. My thought is that the repo owned by foo would be a central
repo that all of the developers, including myself, could clone and to
which  we could then 'git push' our changes. The nightly builds would
then simply build whatever was currently in the foo repo. This of
course completely ignores the complexity of branches at this point but
like I said, I am experimenting. I did a test of this and what I found
when checking the git log is that while the changes I made and checked
into my repo clearly showed me as the author, the same changes after
being pushed to foo's repo showed a different author.

So two things.. First should the author have been preserved? How can I
make sure that it is?

Second, and probably the better question. Am I too focused on the
subversion methodology? Is there a better way of managing a central
build scheme using git?

Thanks!
-Harry

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-12-21 22:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-21  1:07 Noob Question awingnut
2012-12-21  1:43 ` Andrew Ardill
2012-12-21 13:27   ` W T Riker
2012-12-21 22:38     ` Andrew Ardill
  -- strict thread matches above, loose matches on Subject: below --
2011-01-13 23:58 noob question Harry Johnson
2011-01-14 11:10 ` Thomas Rast
2011-01-14 21:32   ` Harry Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).