Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

I was browsing repositories and accidentally opened a repository in github desktop 1.0.12. Now I see no means of closing it. What's the mojo?
ScrnGrab3506-180111-13.42.jpg
ScrnGrab3508-180111-13.44.jpg
0
Receive 1:1 tech help
LVL 11
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

I'm working on an Access app with primitive version control. How can I use COM (or anything else) to tell Access 2016 to compact & repair after launching? I'm assuming the answer will be in C# or powershell, hopefully the latter, as I'm looking to integrate it into commit hooks.
0
I have used Octopus Deploy but never Jenkins.

What are some big differences?

Thanks
0
This is using the SVN (subversion) to control the version number of the code. The source server is an VM using CentOS 6.4, while the destination server is a redhat Enterprise linux 6.7. Both Linux systems are installing SVN by yum, for example, yum install subversion, and yum install mod_dav_svn. apache (httpd) was utilized. The version of SVN is 1.6.

As for the SVN structure, the httpd.conf located in /etc/httpd, while all SVN repository config are put in /etc/httpd/conf.d. However, all SVN repository are stored in /home/svn. As for the user authentication, LDAP is in used, in which this pointed to our MS Windows AD Domain. Both systems were setup in the same fashion.

Now, selective repositories are needed to be migrated from CentOS to redhat linux. The redhat linux SVN server is working now. However, as for the old centOS svn server, those affected repository still kept but none of them should allow committed or updated.
Is there a way to "lock" all the files and folders of those affected repository, sounds like using "svn lock" or else? Or only allow those users to read-only but not write?

Please help, thanks a lot.
0
I hope to post a sample application which displays a problem I am having and need to find what aspects I need to create for this. It would mainly be for posts on EE but could be used to share my code for other purposes.

Can you suggest one?

I create a GitGub account and use Git to put the latest version of my site to GitHub.

What if two people want to make an alteration to the code I post there? When someone makes a change, is there a way to auto-fork the repo?
0
Experts, please let me know if there is any free client utility that I can use for GitHub Enterprise. I think SourceTree supports GitHub.com, but not GitHub enterprise, please correct me if I am wrong. For some reasons, GitHub Desktop version can't be used. Please let me know if there are any other utilities that I can use to connect to my office GitHub repository.
0
I use Atlassian Crucible for code reviews and sometimes upload an SVN patch for pre-commit review.
However, SVN patch does not include SVN keywords (specifically Id) and as such, Crucible marks this as a conflict.

Is there anyway to have SVN patch include keywords? I am using TortoiseSVN 1.8.11 on Windows 10.

Currently, my workaround is to manually edit the patch to include the SVN keywords.
0
How do I add developers to the bug assignments list in tfs 2015?

My tester is adding bugs to a project and is complaining that there are no developers in the drop-down list of developers to assign the bug to... I'm not familiar with using TFS as a testing platform; is there a TFS role the developer need to be in?
I guess the base question is: What feeds the bug assignments drop-down list?

Thanks
0
we have a repository with 1 branch and 1 trunk in SVN, working on the daily change on the branch and after a week or so we pass the changes into the trunk using tortoise merge and later we continue using the branch to make more changes and so on. this way we think that can save al changes while maintaing a stable realease to build.

this way of working is recommended or we are wrong?

regards
0
I inherited a bit of a mess
I have a project where the LIVE web site is correct on a production server.

There is a project on a local server for the same web site.

I KNOW the live site is correct

There IS a github repository

I want to ONLY push the live site UP...
NOT receive anything FROM the repository

And then get the dev site in sync.

How do I do that?
0
Free Tool: Site Down Detector
LVL 11
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Hello

I'm reading a lot about devops and the new culture behind it.

I m yet puzzled at few issues that I would appreciate some experienced in that field to help me out with.

1-most of the posts and documents I am reading are for a big part emphasizing on testing and how to conduct all types of testings. Is that correct? I mean is really testing the cornerstone of the devops?
2-In my company we are using a web development platform called alphaanywhere and planning to also use instantdeveloper who both are RAD tools.
All the tools that are being advocated by for devops seem to me to work ONLY under Java python rubis and the likes..
I hear a lot of Jenkins / bamboo / git / chef / puppet...
It seems to me that all those tools do not work under the platforms I am using. (Alphaanywhere and instantdeveloper).
I'm a right? If yes then Devops can not be applied in my company? It doesn't make sense to me.
I'm certainly missing something... Please help me understand...

Thanks
0
Hello,
On my previous positions, I worked in a pretty big IT development department where we used SVN for version control.
So for each 'ticket', whether for a production bug, enhancement or new development, we would create a branch off of the SVN trunk for a 'Release'.  
We would attach our scripts to this branch to be deployed to the QUAL and Production environments. (check back these branches back into the trunk)
Anyways, it was a good system to have when organizing different releases to different applications, systems and databases.
We used different languages, mostly c#, VB and sometimes, PowerBuilder.  We also used Oracle and Sql Server as well.

My current job, in our little development shop we use TFS for our version control.
I'd like to create some kind of script or organize what specific Oracle or Sql Server objects that a DBA can run for us, to say the
QUAL environment and eventually to Production.  Also for any SSIS packages and c# solutions that would need to be deployed as well.

Does TFS or some other tool available we can use to do this?

Thanks
0
I have a form I built in Sharepoint 2010 tied to a List.  I have version control turned on and for one key field I utilize the Append function to track history.  This is great, however when I export I am aware of a known limitation that only the last update is exported.  My challenge is that I have users that update this key field and then come back and make a change to the form (not including the key field).  This results in blank data when exported.  

Question: Is there a way to include detail from the last 2 versions when exporting to excel?
0
I'm new to, and using Git. I have my remotes/origin branch of "master" that contains all production-ready code.

From "master", I create a new local branch called "Bug Fixes".

When I try to push code changes in Bug Fixes back to "master", I get this error every time:

Error encountered while pushing to the remote repository: Not a valid reference 'origin/master'

Maybe I'm not using this correctly? Can someone please advise?
0
My current problem is that I'm trying to push new files to our project's dev server and each time I make a commit with SVN, this error is popping up: " error MSB3541: Files has invalid value "<<<<<<< .mine". Illegal characters in path. ".

I did a little bit of research and found that this is a warning that SVN gives when it tries to merge two disparate files. The ".mine" is added to the data of the file along with a ".yours" section to show the changes and allow the user to manually edit out the conflicts on the file.

However, whenever I try to edit the .dll file in question TortoiseSVN gives me an error message saying that this type of file can not be edited. I've tried recompiling the project's dll's, deleting the obj and bin folders to force the project to rebuild the offending directory, used old .dll files from an earlier version, recompiled the dll's on the other computer that has access to this repository, unloading and reloading the project that contains the dll file in question, and building the entire project. So far nothing has returned a solution. Each time I push the newly built files the same error pops up.


Is there a way to edit out a conflict of this nature on a .dll file or am I missing something very obvious?
0
I am the only one with Admin rights to BitBucket and want to be sure, for the moment, only I can merge a Pull Request.

Please explain how to configure this...

Thanks
0
I just need to be alerted (via email) when a Pull Request is created.

How?

Thanks
0
Hello

Let's say i narrow the language in github search. I further want to specify a string to search for in all the repos available. Possible? How?

thanks
0
can we  run a script automatically when a developer commits a change into GIT
best way to run this script. kindly help.
0
Free Tool: Subnet Calculator
LVL 11
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

A slightly theoretical question.

A company is developing a cloud service based on PHP/mySQL etc. They have the source code on their own servers.

However, they want to start using external developers to create particular features.

How can they share part of the source code with those developers, without giving them access to the whole thing?

I was thinking that something like GitHub might support that, but it doesnt appear that it does.

Any ideas, or products you know of?
It would essentially be giving a certain developer access to a certain file, and then revoking that access when they had completed their work. I guess it would also need some sort of version control.
1
I want to know how to edit a comment in git after commit has been pushed , the exact commit number is available with me, I am using "ubuntu 16.04"   and git version is "GitLab Community Edition 8.14.0"
There are few more users who have done a commit after me on the same project.
I do not want other commit messages to be altered.
0
We very recently just completed a move to a brand new system for our company (ConnectWise) and it includes a KB style documentation feature but does not have any version control.  I'd like to take advantage of using the piece built in to the software but need a way to keep older versions of the articles.

The articles are stored as rows in a specific SQL table, and I can't rewrite the internal code.  I'm trying to avoid a SQL trigger, but it might be the only way to accomplish what I want, which would be before an insert or update to duplicate the row to another table with a version # and date.  

Is there another way to handle this that you [Experts] can think of?  If not, how could I do the trigger to duplicate the row before it's updated without interrupting the software's process?

Appreciate the advice/brain storming in advance.
0
Hello,

I have a simple Hello World program written in Eclipse Neon.  I am integrating Eclipse with Github and it is giving following error. The Pull works from the repo.  What could be wrong here?

Thank you
Screenshot_1.png
0
I've been using Visual Studio Online for some time with a TFS-style repository.  I've started a new job and am creating a new repository for our small time and want to use git for the first time.  I'm really struggling with importing existing projects to this git style repository and then sharing it with team members. Are there any primers out there for users like myself getting to grips with git in a visual studio environment?

In case it's relevant, we are using VS 2015.
0
I made the mistake of making some changes on my local "develop" branch. This branch is set up so if I do "git pull," it will align with the "develop" branch on the main server.

After realizing my mistake, I went ahead and committed my changes, then I renamed the "develop" branch to management/server. My rationale was that I change the name of the branch, create a new branch called "develop" and do a "git pull" to grab all of the files from upstream and I would be good to go. When I did that, however, I got an error that said:

"There is no tracking information for the current branch. Please specify which branch you want to merge with."

Not sure what that meant, but I went online and found a command that seemed to do the trick. I did this:

git branch -u upstream/develop

Thing is, my interface says I'm still one commit ahead of upstream. I want to overwrite what I've got on my local "develop" branch with the "develop" branch that's sitting on the main server.

How?
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.