Questions tagged [upstream-branch]

60 questions
0
votes
2 answers

Creating Git Rebase Alias

I have this git command that I use a lot as an zsh function. git push --set-upstream origin $(git rev-parse --abbrev-ref HEAD) What I want to achive is create an alias and be able to call it as git upstream rather than calling just $ upstream as an…
ogirginc
  • 4,948
  • 3
  • 31
  • 45
0
votes
2 answers

Solving git upstream rebase "hard case"

Wouldn't the git upstream rebase "hard case" problem be solved if each branch carried a reference to its initial base commit (say branch@{base}) ? This initial base commit (stored under branch..base in the config file, for example) would first…
CidTori
  • 351
  • 4
  • 17
0
votes
1 answer

Git push upstream with dynamic branch name inside an npm script

Is it possible to run an npm script containing a git push command with the upstream option based on the current branch ? As an example, I would like to be able to run a command npm run push. This command will do something like git push -u origin…
C0ZEN
  • 894
  • 11
  • 41
0
votes
1 answer

Merge or rebase changes on branches for pull requests?

Sometimes we fork an upstream project to contribute bug fixes. We check out a new branch, commit changes and send a pull request to upstream. But it may take some time for the pull request to be handled and during this time additional changes may…
Cyker
  • 9,946
  • 8
  • 65
  • 93
0
votes
1 answer

Forking public Git repositories to internal Git host, and how to track upstream

I'm currently working with Puppet modules, and I'm "forking" them from their public repos to an internal Git server. Currently, my workflow is: Clone the public repo to my workstation Run git remote rename origin upstream Create a new repository in…
zymhan
  • 107
  • 2
  • 7
0
votes
0 answers

Why would local "remotes/origin/master" be out of sync with the actual remote branch?

I am wondering, if you do this: git fetch origin master; and the above command succeeds - under what circumstances would the branch "remotes/origin/master" ever be out of sync with the actual remote branch (on Github)? From my observations, it…
Alexander Mills
  • 90,741
  • 139
  • 482
  • 817
0
votes
1 answer

how can i verify that git fetch upstream master actually pulled changes?

First off: I'm a relative newbie to git but am very familiar with svn (but that doesn't count anymore): I was told that changes were committed to master (at 83bb0af238f2d845a633a920ee647395234033a6) and I should update my forked copy. I have set a…
stdcerr
  • 13,725
  • 25
  • 71
  • 128
0
votes
2 answers

Git and GitHub concepts: Reviewing updated pull requests locally

I follow the generic OSS structure: the OSS' remote repository hosted on GitHub a fork of the OSS remote repository to my own remote repository a clone of the fork on my remote repository to create a local repository Thus, a contributor would…
umop apisdn
  • 653
  • 9
  • 20
0
votes
1 answer

Write buffer results in path error when uploading a stream with Skipper and Sails

I have converted an upload and stored this as a buffer. When I write this buffer I get a path error. TypeError: path must be a string or Buffer const adapter = require('skipper-better-s3')(options); var receiver = adapter.receive({dirname:…
Eli Peters
  • 406
  • 4
  • 10
0
votes
1 answer

Restore master from upstream repo into fork

I accidentally deleted the master branch from my fork. Now I want to reset master in my fork to be as the upstream master. How do I do this?
Shimmy Weitzhandler
  • 101,809
  • 122
  • 424
  • 632
0
votes
0 answers

NGINX Upstream server forwarding

I want to know one thing that is it possible for the NGINX to return the response of one upstream server to another upstream. I need this as when a request is received I want to get it validated from one upstream server, and if validated then only…
learner
  • 906
  • 2
  • 10
  • 39
0
votes
2 answers

how to trigger jenkins downstream job only both upstreams jobs successfully executed

I have created Job A which looks for upstream jobs (Job B and Job C) success result and triggers a shell script to verify a condition. Once Job B and Job C executed successfully Job A executes downstream jobs (Job D and Job E). I have used reverse…
-1
votes
1 answer

Github Fetch and Merge problems

I forked github repository month ago. I created branch "test". Yesterday I opened it on GitHub (page) and I clicked "Fetch and Merge" button (on branch "test"), after that I updated branch with some changes. Later I created PR to origin repository.…
Norbiros
  • 3
  • 3
-1
votes
1 answer

Email upstream job artifact in jenkins

I have two jenkins jobs - JobA(upstream) and JobB(downstream). JobA generates the artifact TestReport.zip. I want to take TestReport.zip artifact in JobB and send it as an attachment in an email sent from JobB. I tried copy artifact plug in, but no…
-1
votes
3 answers

why can I not add an upstream git repo?

I took a fork of master and master has received a few updates in the meantime that I now want to pull into my fork. So what I did was: cloned the fork to local disk, went into the dir and used git remote add upstram…
stdcerr
  • 13,725
  • 25
  • 71
  • 128
1 2 3
4