version-control

Workflow and setup of a bare git repository for transferring project/changes/commits to offline repository on a seperate machine?

梦想与她 提交于 2019-12-11 13:47:26
问题 I have a git repository on a server somewhere where I keep long term changes to my software. I develop this software on an Windows machine using Visual Studio. I make commits via Visual Studio and push changes to the server via a Git CLI tool. This software is mainly used on an offline machine, though some development and bug fixes are done on this offline machine. The problem I currently have is two fold. First, it takes quite some time to copy the entire Visual Studio project folder (which

Not visible GIT push

时间秒杀一切 提交于 2019-12-11 13:46:26
问题 I've run into this situation twice (for 2 different repos). I have REPO published on Github. I don't want to make "ad" but this is this repo: https://github.com/mnabialek/laravel-translate/tree/develop Just a moment ago I've made new commit and pushed it to the repo but it's not visible on Github. Running git status doesn't show any file are modified. When I run git log the last 3 commits I get are: commit 392f6c04a7e1b956e895fcadda99385d2ea28013 Author: mnabialek <*> Date: Mon May 23 17:39

Should we commit IDE settings in the VCS?

非 Y 不嫁゛ 提交于 2019-12-11 13:41:44
问题 We're working mainly in Java, using both Eclipse and Intellij in the team. We had a discussion in the team about committing IDE settings (.iml, .project) on our git. I'm against this practice, but someone pointed me the fact that would be much easier for everyone to be aligned on the same settings like code style and warnings. Also they showed me as modern browsers do a good job of separating local machine specific stuff from project specific ones. Is there are reason why we shouldn't commit

Remove TFS Bindings without a hack

谁说胖子不能爱 提交于 2019-12-11 13:12:15
问题 I have a 2013 Visual Studio Web Project which was in source control. It has been detached for some time and now I want to move it to a completely new TFS server but when I do it errors and complains expecting certain folders to exist. I think this is due to the TFS bindings. Now I have seen lots of posts about how to edit the solution file to remove the bindings, plus a few other steps but I'm wondering if there is a menu item which you can click to remove the bindings so I can point at a

Tagging XCode's Archive builds in Git or another SCM

荒凉一梦 提交于 2019-12-11 13:09:59
问题 I'd like my XCode Archive builds to automatically tag my SCM (Git in this project). I've noticed that in the Schema Editor, Archive builds can run pre and post step build scripts . It would be ideal if post steps are only run if the build is successful, and then the tag could go there. I'd like the tag name to refer to the name of the build configuration (I have TestFlight and AppStore configurations, as well as Debug and Release, which would not normally be archived), as well as the version

Source Control Migration from Accurev to Git (.net)

那年仲夏 提交于 2019-12-11 12:40:39
问题 Currently we have a big project, about 10GB (including dlls), probably around 5GB without dlls, in Accurev and it is really slow to get / up / promote etc... We are thinking of migrating to GIT, but biggest problem is it is a big monolith plus the way it is structured, we have one DEPOT for all projects. We have a LIBRARY folder where all the projects are built to, instead of the bin folder, so libraries references could be shared. Every library is built to that LIBRARY folder, and all inter

Removing Keyword Substitution comments from source files?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 12:30:49
问题 Note: For wont of a better word I call the fluff at the start of source files -- /* @(#) $Id: file.c,v 1.9 2011/01/05 11:55:00 user Exp $ ************************************************************************** * COPYRIGHT, 2005-2011 * ... */ -- Keyword Substitution comments, although I do not know if this is just a subversion term. Anyway, now to the question : We have a 3rd party supplier that we get source code from. These c source all have these keyword subst comments, and every time we

“Git directory” and “working directory”

守給你的承諾、 提交于 2019-12-11 12:27:42
问题 If I understood it correctly, Git directory is the hidden directoy named .git which resides in the working directory . And all the code and history info is stored in the Git directory. So I expected that when I clone some repo from GitHub, as shown below: git clone git://github.com/schacon/grit.git . I should just download the .git directory. But there're plenty of other files in the working directory besides the hidden .git directory . I didn't expect to download other people's working

Is there an equivalent to flashbake (easy version control) for Perforce or Subversion

天大地大妈咪最大 提交于 2019-12-11 12:27:03
问题 Flashbake is introduced by Cory Doctorow and discussed here and its project page is here. It hides most of the complexity of git and allows simple configuration. I'm looking for something for Perforce since I have 10s of GB growing to 100+ GB in the next year of a few MB files (pictures mainly) which might not be ideal for git. I also had trouble with > 1 GB files (video) Plus I have used Perforce and svn before. EDITS: 10/26/09: This is only for me so there isn't a requirement for multiple

java - is it possible to choose version number when compile a file?

半世苍凉 提交于 2019-12-11 12:26:57
问题 I've wrote a java code and compiled it. (foo1.6.class) According to my search, my local machine has Java 1.6, and the tomcat server that I uploaded foo1.6.class only accepts version number 1.5 This means that I have to have Java 1.5 to compile? I believe it is the cause that bad version number error is thrown like below. My question is, is there any way I can compile my Java file using 1.5 version number? Looked at javac cmd but seems like it is not part of the option. But I don't think