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

I created an initial /trunk  /tags  /branches directories in new remote svn repository.  svn revision is 1.
I imported professional medium size c/c++ project into the /trunk folder.  Now, svn revision is 2.
I tagged the imported project.

Now, I need to fix a bug.  My plan is to checkout from tags.  Fix the bug.   Then, how will I commit?  Commits aren't allowed on tags.
0
Become a CompTIA Certified Healthcare IT Tech
LVL 13
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

I was installing Github Lab on my desktop but I forgot to check the command line option. How would I go back and fix it?
0
Hi,
There is a git tag name that i have for a repo. I want to name on which branch it was created.
how to do it ?

Thanks
0
Backing up a WordPress site to Bitbucket

I have a brand new WP site at A2 Hosting and hope to back up the site in its pristine condition, as my first code commit. That lets me easily see what changes I have made, and help me in the I changed something I should not have changed.

What parts of a WP site get backed up?

What parts of a WP site DO NOT get backed up?

How do you suggest I approach this...A2 Hosting > BitBucket?

Thanks
0
I just wonder is there anyone have experience to use git system for network drives?

I have a team and we're working on a sharedrive on network but the files are ASCII files and each members made some modificiation on files and it's hard to track what's the changes and etc. is there any way to see History, Pull, Push and Branch options on files.

Any idea would be grateful.

Thank you.
0
In my application Splash Screen loads at the same time with my startup form. I don't know what is causing that my splash screen vb code like below. And also i took and screenshot from application settings.

Option Explicit On
Option Strict On

Public NotInheritable Class SplashScreen1

    'TODO: This form can easily be set as the splash screen for the application by going to the "Application" tab
    '  of the Project Designer ("Properties" under the "Project" menu).


    Private Sub frmSplashScreen_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        'Set up the dialog text at runtime according to the application's assembly information.  

        'TODO: Customize the application's assembly information in the "Application" pane of the project 
        '  properties dialog (under the "Project" menu).

        'Application title
        If My.Application.Info.Title <> "" Then
            ApplicationTitle.Text = My.Application.Info.Title
        Else
            'If the application title is missing, use the application name, without the extension
            ApplicationTitle.Text = System.IO.Path.GetFileNameWithoutExtension(My.Application.Info.AssemblyName)
        End If

        'Format the version information using the text set into the Version control at design time as the
        '  formatting string.  This allows for effective localization if desired.
        '  Build and revision information could be included by using the following 

Open in new window

0
Hi,
I have performed mvn release:prepare release:perform.
And a tag got created. I am using git and phabricator
Now i had to make some minor changes to the code. But dont want to create another tag unnecessarily.
So can i make the earlier tag point to the new code ?
The tag is important because that is how the build system in our office works...
But each time i make some change for deployment i dont want to create a new tag. and somehow make the older tag point to new code

Please suggest how to do it. and any alternatives ?

Thanks
0
Hi,
I have noticed sometimes whenever i do a git pull.
The editor will open up for merging with the default message :
Merge branch 'branch-name' of 10.1.5.12:app-portal into 'branch_name'
And i unnecessarily end up creating a new commit.

I dont know why this is happening ?
Ideally when i do a git pull it should just pull out the changes and not merge something...
Moreover why this message is appearing in the commit ?

Thanks
0
I just started using Visual Code Studio. A co-worker and I are working on a project together in which he will work on certain sections of the code and I will work on others.

We want to be able to "check out" a section of code, work on it locally and then post it up to be merged into the master code (upon approval).

I have seen ways to do what using github command lines. But is there a way to do that directly from Visual Code Studio?

What I'm looking for is this type of flow:

  • Start with the master code.
  • Each of us brings down files to our local machine to work on.
  • Our locally changed files are then staged to be uploaded.
  • The changes are reviewed and agreed upon.
  • The master branch is updated.

What I am looking for is a set of simple instructions for how this type of "checkout" procedure can be most easily accomplished and ideally from within Visual Code Studio itself.

Thanks.
0
Hello, I am in the process of implementing Acronis Snap Deploy in my environment and am wondering what other experts have done for version control of their master/base images?
0
Expert Spotlight: Joe Anderson (DatabaseMX)
LVL 13
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

I need whatever is in master branch to now be in my test branch named RM.

I definitely do not want to merge RM to master... I need it to be the other way around.
0
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
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
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
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
OWASP: Threats Fundamentals
LVL 13
OWASP: Threats Fundamentals

Learn the top ten threats that are present in modern web-application development and how to protect your business from them.

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
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
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

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
>