Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged git

0 votes
1.5k views
1 answer
    Another simple question on how to handle in github following up on this: should I do a git fork then branch or just a git branch I want to use an ... seem easier to just have these as separate repos. thx See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I refer to https://code.visualstudio.com/Docs/editor/versioncontrol#_viewing-diffs. Is there a way to easily show a side-by-side diff of a file in two ... Is there a way to easily select another commit? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I have a cvs repository, with mostly java code. Each package sits in it's own top level dir, like so, with the sourced laid out in typical java ... , or checkout and commit the whole repository each time! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I have a need to clone an existing repo into a new one. Repositories are hosted on gitlab. For now i have created a new gitlab repository , and ... branches, tags and everything. What i am missing here? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    To download some opensource code behind the office firewalls I am exporting the Proxy like this export http_proxy=http://username:passwdatXYZ.com:portnumber ... what would you change to those settings? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I use Rails to develop. I have a controller named cpc_admin_controller.rb the full path is app/controllers/cpc_admin_controller.rb, and a helper named admin_helper. ... Someone can help me, tell me why? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    In Azure DevOps, branch security for git repos defaults the 'Force push' property to 'Not set' for all Azure DevOps Groups. This effectively denies this ... , unless explicitly set to 'Deny'? Cheers. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    This is pretty straightforward: How do I simulate the command git merge --abort in JGit? I need to "preview" the conflicts prior to the real merge See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Q: When git pushes refs that have no common history over the Smart Protocol, can it consider root or sub-trees already in-common between local and origin when ... my client or server? git version 2.8.2 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    o---1---o---o---o---o master / o---o---2 feature Is it possible to get commit 1 without using reflog ? Using git 2.4.2 I ... hash where branch originated from How to get information where branch starts? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I'm trying to setup GitHub on my system and I have done all the installation and key setup process: But during test everything phase getting the ... .com ssh:github.com:no address associated with name See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I want switch branches and have git always set the working directory contents to reflect the state of the branch I'm switching to. I'm experiencing the ... I'm willing to commit or stash prior. Possible? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I have generated a public key, private key pair. I've set the public key to the site. How to use the console in windows to clone a git repository? ... I keep getting: the remote end hung up unexp. Thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I want to clone a list of branches from remote repo. What is the best way to do that without fetching everything? I saw solutions for cloning one ... /notes And then using this bundle for my purposes. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I have a git repository that was cloned from a bzr repository using git-remote-bzr as follows: git clone bzr::/repo new-repo. After a few hundreds ... in git? Change commit author at one specific commit See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.8k views
1 answer
    I have a repo which a submodule in it. I can get the current hash of the submodule from the working directory easily: cd submodule git rev-list HEAD ... obtain that hash without checking out the old tag? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    Without creating a branch and doing a bunch of funky work on a new branch, is it possible to break a single commit into a few different commits after it's been committed to the local repository? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I'm using python's sh to script git commands. For example, I do things like import sh git = sh.git.bake(_cwd='/some/dir/') project_hash = ... I can avoid the escape sequences using sh. Any suggestions? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    Is it possible to share GHfW's Git configuration with the entire operating system? Ideally I'd like to have GHfW's git.exe on the system ... stored through GHfW available from any command prompt? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I've been following guides like these here and here on how to diff binaries in git - more specifically .odt files and microsoft word files. They ... any advice on how to configure difftool for binaries? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I know that git fetch always does a fast forward merge between the branch and it's remote tracking after it fetches the commits from the remote. My question ... merge commit for non fast forward) / C--B See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    How can I tell git to ignore the current modification made to a file foobar, but not any future modifications? I have in my worktree a file to which ... as it has the current content or the current mtime? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.6k views
1 answer
    I want to pass github for windows because of easy usage and its user friendly design. But I have to know some codes which i used classical version of ... -hard HEAD" "git diff" Thanks for your help. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I am trying squash many commits into a single one, the problem is that I need do that by author (name or email). The case: Lets say I have ... author commits into master. Any help here? Thanks in advance See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    I had created an extra branch for some testing purpose. Before starting to work, I switched back to master branch and, after having a tea, I ... second-branch and remove it from master branch? thanks See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    I have my project + RestKit submodule. Error appeared when I changed RestKit settings. I added support armv6 and armv7 architecture. git add . git add -u ... : I added submodule as git submodule update -i See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I am using a local BitBucket server with Git. I am trying to get started with Continous Integration so I've set up a local Jenkins instance. The goal ... where it seems like the behaviour is by design... See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Manpage of git stash says A stash entry is represented as a commit whose tree records the state of the working directory, and its first parent is the commit ... ) merging the two commits I and H? Thanks. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to Jonic Developer Community for programmer and developer-Open, Learning and Share
...