[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Version Control

Version control, also known as revision control or source control, is the management of changes to documents, computer programs, large web sites, and other collections of information. Changes are usually identified by a number or letter code, termed the "revision number," "revision level," or simply "revision." Version control systems (VCS) most commonly run as stand-alone applications, but revision control is also embedded in various types of software such as word processors and spreadsheets, and in various content management systems. Revision control allows for the ability to revert a document to a previous revision. Git, a widely-used VCS, has its own topic; other popular systems include CVS, Subversion, Team Foundation Server (TFS), Visual SourceSafe (VSS) and Perforce.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi,
I have seen two repo management tools that uses git.
One is phabricator and other is github
whats the difference between the two and what are the pros and cons of each
Which one to use when ?
Does one has some specific benefits over the other ?
Thanks
0
Build an E-Commerce Site with Angular 5
LVL 12
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

I'm using ubuntu 18.04 with a SVN project and when i modify any file in the folder appear a folder "C:\Program Files\CollabNet\Subversion Client" with a lot of files in the current path, if i tried to delete it it apear again.  i'm using Intellij to edit the project but this happen too if i use the file manager. This happen in windows too.

how can i fix this and why is this happening?
0
Hi,

 I've never install,configure and test Gitlab runner on Cloud VM (redhat 7.5 ) for version control of my Python Script.

Anyone help guide me through.

Thanks
0
We currently host Git on our sandbox server where we (2, sometimes 3 people if we hire a temp contractor) collaborate on the code for our website. I'm new in this position of backend web dev, inheriting the position from our long time backend dev who moved on. I *was* the head IT guy but now I'm trying to figure all this out as part of my new job.

Is there a benefit to using GitHub as opposed to just having Git installed on our sandbox server?
0
Hi,

Ps advice how to syn with my local-repo to the gitlab repo with error. Tks.

giblab_error1.jpg
Keep loading non-stop
giblab_error2.jpg
0
I'm still relatively new (new in the sense I know how to use GIT to check in / check out files) to the world of Git, and feel like this is a pretty simple question.

I'd like to create a list of all the files that I've staged (this particular case it's ~40 or so files) and am ready to commit. I'd like to take that said package of files and simply deploy them to my STAGING server. Normally, I'd just do this manually, but it seems like a lazy approach, and I should be taking full advantage of the tools I'm using.

I'm running in a windows environment, and am looking for something I can run from the console, or ideally, a way to use the GitKraken UI to do this.
0
Having bought a new machine (running Windows 10 professional) I Have installed the following:

MS Visual Studio 2017 community
MS SQLServer express 2017
Team Foundation Server express 2015

I find that I do the have the option in VS to "Connect to Team Foundation Server"


I have "Visual Studio Team Foundation Server" set as the Source-Control Plug-in.

I can see my server in Source Control Explorer but cannot add folders or items.

If I go into Team Explorer I can see GIT repos   (dunno how to use these) and I can sometimes add a solution to Source control whereby it is visible in Source Control Explorer temporarily.

How can I connect to TFS correctly in VS 2017 Community please?
0
Please provide reference(s) that git doesn't require system administration.

Earlier today I asked question is there a version control system that doesn't require system administration.  
Expert answered Git.

I could google this information.  Please provide some links that confirm that git doesn't need system administration.
0
From svn book,

"Unless you can outsource the administration of your version control system to a third-party, you'll have the obvious costs of performing that administration yourself"

Doesn't every version control system require administration ?
0
Is Tortoise SVN Client included with Windows File Explorer shell?  Or Tortoise SVN Client needs to be installed first, then it can be accessed from File Explorer shell?

When I right-click from File Explorer I don't see any svn commands, like checkout.  Is it because we haven't installed subversion in a server yet.
0
OWASP: Avoiding Hacker Tricks
LVL 12
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

How can I edit two or three files in Github Enterprise and put them all into one pull request?
0
I want to commit my solution.
We have AnkhSVN installled in lan.  While comitting the solution, it shows following error :

Commit to https://mypc/svn/SampleProject
Commit failed (details follow):
Unable to connect to a repository at URL
 'https://mypc/svn/SampleProject'

The requested name is valid, but no data of the requested type was found.

plz see attached image . I am using VS 2015,   Ankh SVN 2.7.12815.  

From other computers in Lan ,  I can  commit existing project but cant add to new blank repository.
0
I have a bit of a different type of question. I'm trying to find a graphic or come up with a graphic that represents the benefits of version control.

Initially, I was just thinking of putting a company logo and version control logo and then a cloud platform logo on a page with connectors, but that doesn't really capture the benefits of version control.

When I think of benefits, I think of speed, backup, recovery, ease of deployment, etc.

So, I was trying to find a graphical representation of those types of benefits when using version. I thought someone on here might know of a graphic that already exists or might throw out some suggestions.


Thanks.
0
I just started learning git using source Tree.

I used mercurial hg workbench before and was quite comfortable with it. I usually created new feature/bug/ticket branch from the main branch to work on something. and if there were any updates to the main branch, I would pull the changes and merge the master branch into my local branch, to resolve any conflicts locally.

I imagine I can do similar in git using sourcetree. I am new to git and still reading about all the terminology around it, fetch, rebase, stash and so forth.

How would one usually achieve this in a team environment while using git.

say I'm working on a feature branch, and there is update to master branch, the one you know which will have lot of conflicts. so my idea is to do a pull on to my master branch. then merge that master branch into my local and resolve the conflicts locally .

how would i achieve this in git. do i do a pull, or fetch?
if i have uncomitted changes, do i stash my changes?
0
Hello, I'm using GitLab (git), and I want to be able to create a single tag that captures all of the commits for that branch in the past week.
For example, let's say I have 5 different commits to the master branch. I want to create a consolidated tag of all of those commits.

How do I do this? I'm using command line language.

Thanks
Jeff
0
How do you find an ip address in one of many config files in a github enterprise repository? I've tried with quotes, without and I get all kinds of whacky variants but not the file with the IP address I want.
0
Hi Experts

Could you point what is necessary to allow external users to merge a Bitbucket repository?

The configuration I have uses Acess Level not private,  accordingly to:

img001
So I guess the people that wants to clone it simply must to run like this:
img002
Is that or anything else is necessary?

Thanks in advance
0
Hi everybody.
For some reason I ignore, a avi file has been copied or inserted in my local git repository and renamed as it be  an object. In Nautilus its icon shows the movie preview and if I double-click on it, I can watch the movie.
Now I can't commit my files so, once I have understood what happened, I have tried to delete it opening Nautilus as root or using sudo rm -i and the object name as it appears in Nautilus and in git error, but I get an error telling the file or the directory doesn't exist.

I can't just clone the repositories from BitBucket because it is not updated: I got this error some days ago but I had to go on with the work, so now I have a lot of changes not committed nor pushed.

I would like just to delete the movie from the repo but I don't know how to do it.

Someone can tell me what I have to do? btw, I'm new to Git and generally speaking not so confident with version control commands )

Thank you so much for any help.
0
I am going to put one of my servers at a datacenter and start hosting client's sites. I'm going to monitor the sites using pingdom, and I wanted to provide regular backups.

I wrote a shell script that backs up the database then pushes the repositiory to a private GitHub repo every 5 minutes.

Is running a Cron job every 5 minutes going to have an impact on my server's resources and load times?
0
Exploring SharePoint 2016
LVL 12
Exploring SharePoint 2016

Explore SharePoint 2016, the web-based, collaborative platform that integrates with Microsoft Office to provide intranets, secure document management, and collaboration so you can develop your online and offline capabilities.

Hi experts,
I have a c# solution which i've always just saved onto my local harddrive. I'd like to get this into VSTS so I can 1) use git for version control and 2) use the vsts scrum board to track the project. How do I get this out of my harddrive and into VSTS? I'm using visual studio 2017
0
When to use Git Merge and When to use Git Rebase ?

Practical Use cases or examples when Git Merge will be useful and Git rebase will be useful.
0
Looking to build a internet exposed host which receives Webhooks from Github to be forwarded internally.

- What is required here, for best practice - plan to do this on a VM - so hardware is fine.
- Are there any security risks - eg. ports open?
0
We have two concepts in GIT Rebase and Merge

Rebase Overrides the history of commits

Merge keep track of history of commit.

Merge would be cluttered if many people works and commits on the same feature branch.

Rebase would be time consuming when multiple people commits on the same branch eventhough we just changed a few lines in the same committed file.

When to use Rebase and when to use merge in real time is not clear?

Please advise.
0
I'm using Bitbucket for version control we have multiple feature branches. I made a commit to my feature branch, which has not been merged to the master branch. I'd like to rollback/remove the commit that I made to my branch. How do I remove that commit? I don't want that commit that I made to be included in my next pull request to the master branch so I'd like to just remove it. How can I do that?
0
Applying a partial SVN Patch using Tortoise

I see I can Apply an SVN patch, but worry that it's all or nothing.

Using Tortoise, if I select Apply Patch, then choose a file a Tortoise Merge tool opens.

Does this let me select the files I want to merge? What if there are wanted and unwanted changes in the same file?

Is there any way to revert?

What can I back up before I experiment with Applying Patches?

Thanks
0

Version Control

Version control, also known as revision control or source control, is the management of changes to documents, computer programs, large web sites, and other collections of information. Changes are usually identified by a number or letter code, termed the "revision number," "revision level," or simply "revision." Version control systems (VCS) most commonly run as stand-alone applications, but revision control is also embedded in various types of software such as word processors and spreadsheets, and in various content management systems. Revision control allows for the ability to revert a document to a previous revision. Git, a widely-used VCS, has its own topic; other popular systems include CVS, Subversion, Team Foundation Server (TFS), Visual SourceSafe (VSS) and Perforce.

Top Experts In
Version Control
<
Monthly
>