Nam G VU
Nam G VU

Reputation: 35434

Git stash possible to apply stash created by another user?

I want to share my stash with my friend and looking for ways to "upload" my stash to the git repo so that he/she can "download" the stash.

Is that possible and if yes, how to do it?

Upvotes: 0

Views: 1536

Answers (2)

Nam G VU
Nam G VU

Reputation: 35434

PyCharm has a feature call shelve changes details i.e. similar to SVN shelve. So if you use this IDE, proceed steps below.

  1. Shelve your changes
  2. Commit-push PyCharm project data i.e. .idea/shelf folder

Other teammates will just git-pull your shelve changes and unshelve in PyCharm.

Upvotes: 0

Quentin
Quentin

Reputation: 944294

Create a branch, apply the stash to that branch, then push the branch to a shared repository.

Upvotes: 2

Related Questions