Enabling .dev functionality on github enterprise - github

On normal GitHub there is a possibility to go to a repo in browser and either press . or change the domain to .dev and it will open code editor in the browser. May I know, how can I enable this .dev functionality on the GitHub enterprise.
Looking forward to the suggestion and advice.
Thanks in advance!

Related

VSCode with Bitbucket and JIRA

I’m having issues linking my JIRA and Bitbucket accounts to my VSCode. I’ve downloaded the Atlassian extension and followed the steps provided here:
https://support.atlassian.com/bitbucket-cloud/docs/get-started-with-vs-code/
However, my Atlassian settings page in VSCode is blank.
If I try and click the below links in the side panel:
‘Authenticate with Bitbucket to view pull requests’
Or
‘Please login to Jira’
The links don’t go anywhere.
Any help on this issue would be greatly appreciated.
Visual code version 1.67.2
Thanks,
Simon

Do you have to use Github desktop to push files to Github.com?

I am new to web development and it seems like an extra step to have to use a text editor, then transfer files to Github desktop, then to GitHub. Is there a more efficient way to push your content to Github. Also, I am new to stack overflow and I'm excited to be here.
Thank you.
No, you don't have to use Github Desktop. Github is just a service that hosts Git repositories. Git is a version control system and there are zillions of tutorials out on the web that can help get you going learning how to use it.

How to open your own github repo from github.dev

In the new product of Microsoft, github.dev, you are automatically forwarded to a VSCode web IDE. However, I am not sure if it is possible to open your own repo (hosted on github.com), work on it and push the changes. Can you help explain if this can be done and how?
I do not seem to find a straightforward tutorial on that.
Note that I was able to open a repo of mine by clicking on the blue GitHub icon in the bottom left corner, but I fail to install a terminal, because
Terminals are not available for web editor. To use terminal you need to continue working in an environment that can run code, like codespaces or local VS Code
I read that codespaces are a paid option for github enterprise, but the way this error message is written might suggest other ways.
Opening your repository
You can open your repository by visiting it's page on GitHub and pressing . to open it in github.dev. You can also use the url format https://github.dev/<username>/<repo-name> with the path to your repository.
Making Commits
While the terminal cannot be used in the editor, you can make commits using the VSCode source control system.

How do I commit to a remote repository on Visual Studio?

I figure this may be somewhat of a common question, but I am still having trouble with what I am finding. Note: I am very new to deploying applications. I have created my first application, an ASP.NET MVC application using Visual Studio Community 2015(I am using enitity framework for the database if that matters). It is time for me to deploy it. I have all my files on gitHub. Now I believe it is time for me to commit to my remote repository on AppHarbor (which I have the link for), but I just can't seem where to do it. It seems to be so simple. I'm using the team explorer. Again, I am very new to programming and deploying applications, so any help would be amazing. Again, from what I understand I need to connect to my remote repository now. I could be wrong. Thank you very much for any insight.
Inside Visual Studio, open the 'Team Explorer - Connect' Window. Default Shortcut for that should be Ctrl+/ + Ctrl+M.
Inside the Team Explorer window, Click on the green plug like button that you see that says "Manage Connections". You will be able to connect to your remote repo from here.
After that, Click on 'Clone' and paste your repo's URL in the yellow text box:
If your remote repo is on the GitHub, this is where you can find the URL to your remote repo:
Well, that's it.. you're connected! To commit your changes, you can easily find the "Changes" section in 'Team Explorer' window. Here's a screenshot for that too:
Note that in my case some of the buttons shown may be Disabled. That should not be a problem to you if you have files with changes, etc.
I don't know about Visual Studio, but with git you need to push your changes to a remote repo, so maybe you have a "push" somewhere ?
First you need to add this remote repository.

Is it possible to edit file and commit github/bitbucket from browser

I want to use editor in browser and save in github without server. Just like text editor in github/bitbucket could new file and save it
I want to know are there any REST api of this 2 services to easily commit file like that
Or a git library in js that could work without the need to pull all files in to our machine
edit:
After 2018 both service already expose their API. This question is outdated
In case you're looking for an online code editor that you can connect to github or bitbucket then you could take a look at these:
Codeanywhere
Cloud9
If you're looking to develop such an editor yourself, you could just start from github or bitbucket's REST API documentation:
Github
Bitbucket
And just choose the javascript REST library of your preference to interact with those APIs.
For Github: to create/update/remove files you can use the Contents resources.
For example, this section explains how to update a file.
Bitbucket user here, you can EDIT/COMMIT your files in browser.
https://gyazo.com/ff3cb58bcc1cceda0306037989f32ab1
Bitbucket has an online editor where you can change the file and commit right away. Check it out here.
See the official response here:
tldr:
They're working on expanding their API and have responded to an issue opened in 2013
EDIT: An endpoint to do this is now available!
Update August 2021: just type . (dot)
🤫 New shortcut: Press . on any GitHub repo.
That will launch GitHub Codespace on your current repository.
You can install on your local computer benweet/stackedit, a markdown javascript editor.
As mentioned in the README,
Publish your Markdown document on GitHub
(See more at Publication)
You can use Power Editor for Bitbucket for editing and commiting code from browser in bitbucket.