bitbucket

401 Unauthorized error using NetBeans + Git on BitBucket

霸气de小男生 提交于 2019-12-05 09:54:45
I have a local git repository. Recently I have added a remote repository from bitbucket, and have pushed my branch there without any problem by: git push bitbucket (since I've configured username and password in https url). But when I try to push, using NetBeans, I always get 401 Unauthorized , when I choose from configured remote repos list and when I try to enter the remote repo details manually. I have the most recent version of NetBeans and Git plugin. Thanks for any help in advance. It is a bug in NetBeans. Seams fixed in NetBeans 7.2, and looks even better in NetBeans 7.3, so perhaps you

`git push` — No output, nothing happens

丶灬走出姿态 提交于 2019-12-05 09:50:27
touch test git add test git commit -m "test" git push -u origin master This worked. The file was uploaded to the repository. rm test cp -R ../website ./website git rm test git add website/ git commit -m "Initial" git push -u origin master This did not give any output, and nothing seems to have bee done to the repository. The test file is still present in the repository. $ git status # On branch master # Your branch is ahead of 'origin/master' by 1 commit. # nothing to commit (working directory clean) Can anyone assist? Recreated the branch on both client and server, to no succes. It works when

Recommended way to coordinate versions of multiple dependent mercurial repositories?

徘徊边缘 提交于 2019-12-05 09:48:48
Well, after many hours of reading and trial and error, it has finally hit me. Mercurial doesn't really want to do SubRepos...at least not with TortoiseHg and Bitbucket. If I am mistaken, and you don't want a down vote for a rude response similar to "of course it works, didn't you read the official docs", then please provide a simple example of how to do so via TortoiseHg latest that will successfully push to Bitbucket. Maybe a open source project that utilizes mercurial and bitbucket and subrepos? All that said, if we keep our class libraries in seperate repos, and the recommended approach is

Trying to migrate to Github from Bitbucket, getting file size error

坚强是说给别人听的谎言 提交于 2019-12-05 09:34:07
I'm trying to migrate from bitbucket to github. What I did was remove bitbucket from the remote and add my github account instead. I then tried to git push -u origin master but I got a large file detected error and then a this exceeds Github's file size limit of 100MB . I know which file is making the problem and I've deleted it a few commits ago but since it's still in previous commits it's still making problems. How can I fix this? GitHub places a hard limit on the size of individual files : GitHub warns you when you try to add a file larger than 50 MB. We'll reject pushes containing files

ssh: connect to host bitbucket.org port 22: Connection timed out fatal

余生长醉 提交于 2019-12-05 09:32:24
Whole error is: ssh: connect to host bitbucket.org port 22: Connection timed out fatal: The remote end hung up unexpectedly I'm getting this error when I do push from two of my projects which are on different servers (countries). What could be problem? UPDATE: Using ssh -v I'm getting this: usage: ssh [-somecode] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path] [-w tunnel

Using subrepositories with bitbucket and ToritoiseHg

為{幸葍}努か 提交于 2019-12-05 08:58:11
I have subrepository structure as following in TortoiseHg: /MainFolder/ /MainFolder/SubFolder1 /MainFolder/SubFolder2 MainFolder is a private repository on bitbucket SubFolder1 is a private repository on bitbucket SubFolder2 is a private repository on bitbucket The file .hgsub inside MainFolder looks like this: SubFolder1 = SubFolder1 SubFolder2 = SubFolder2 The file .hgsubstat inside MainFolder also have valid guids and subrepository names. The problem is whenever I try to push to bitbucket for MainFolder, first it pushes the MainFolder, then SubFolder1, but when it gets to SubFolder2,

Completely remove commit from Bitbucket history

你说的曾经没有我的故事 提交于 2019-12-05 08:17:26
I've made a wrong commit and I pushed it to my private bitbucket.org repository. How can I completely remove this commit from remote repository's history? I tried the following: git reset --hard HEAD~1 git reset HEAD~ git commit -m "some message" git push -f I did this based on solution from Bitbucket git reset Yet, previous commits are accessible via Bitbucket's web interface. I mean they are still accessible using a link like https://bitbucket.org/user/repo/commits/<deleted commit hash> (although they are not listed in repository commits in web interface). Is this information (the history

How to solve the requested URL returned error: 403 in git repository

喜欢而已 提交于 2019-12-05 07:20:23
I have multiple accounts in git I committed code three weeks back with this account. I'll unable to pull my code . I was getting The requested URL returned error: 403 I'll try Pushing to Git returning Error Code 403 fatal: HTTP request failed but I couldn't solved my error git -c diff.mnemonicprefix=false -c core.quotepath=false fetch origin remote: Forbidden fatal: unable to access 'https://chantidurgam@bitbucket.org/chantidurgam/patanjali.git/': The requested URL returned error: 403 Completed with errors, see above. Kunal I had the same issue when using the git cli and sourcetree - and doing

jenkins hook not working - jenkins bitbucket

♀尐吖头ヾ 提交于 2019-12-05 07:12:44
Hi i am using jenkins and bitbucket , i want to trigger a build in jenkins when ever i commit any thing to bitbucket repository . in jenkins i created a project called test_1 in configure section Build Triggers part i ticked Trigger builds remotely i added a token TEST_TOKEN when i type this in my browser url and execute the jenkins build is triggered http://test.com:8080/job/test_1//build?token=TEST_TOKEN In bitbucket i added a jenkins hook Endpoint : http://test.com:8080/job/test_1//build?token=TEST_TOKEN Module name - empty Project name - test_1 Token - empty then commited some code to

How do I delete/remove a push from Bitbucket?

大憨熊 提交于 2019-12-05 05:58:31
I pushed on the wrong repo, and now the admin wants me to remove my last push. I can't just delete the repo. How do I remove my push from the repo? In the admin settings of each repository, there's a menu item called Strip commits : To delete your complete push, you need to strip the first (oldest) revision that you pushed. Bitbucket will then remove this revision and all its descendants: 来源: https://stackoverflow.com/questions/22976506/how-do-i-delete-remove-a-push-from-bitbucket