We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,916 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Help me regarding diff and git

hi friends,

Iam a newbie to linux, could youu guys explain me regarding these two commands

diff and git

what i understood is diff shows the differnces b/w two files

but regarding this git Iam unable to understand..

git -clone etc..........

and I see a lot of places like this command
diff --git a/packages.lkc b/packages.lkc

what is a,b here?

are they are paths a=/home/------/--------/pakages.lkc etc......

then what is b there........

please clear my confusion

Thanks,
VJ

2
Contributors
1
Reply
12 Hours
Discussion Span
1 Year Ago
Last Updated
2
Views
vijay496
Newbie Poster
4 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

You figured out diff just fine - differences between two files and/or directories. Read the man page for more info: man diff

As for git, that is an entirely different animal. There are a number of source control / configuration management systems available for Linux and other operating systems, such as (starting with oldest/least-used) SCCS, CVS, SVN, and GIT in the open source world, and proprietary ones such as ClearCase and AccuRev, et al. The purpose of these tools is to store versions of software and associated files on a versioning basis, so you can look at the differences between version A and version B for example, and roll back components with introduced bugs / unwanted features. These are some of the most important tools in software engineering environments.

rubberman
Posting Maven
2,571 posts since Mar 2010
Reputation Points: 365
Solved Threads: 305
Skill Endorsements: 52

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0574 seconds using 2.68MB