Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
aws
/
aws-sam-cli
Public
Notifications
You must be signed in to change notification settings
Fork
1.2k
Star
6.7k
Code
Issues
466
Pull requests
64
Discussions
Actions
Projects
Wiki
Security and quality
3
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
feat(init): add --checkout option to sam init command for specifying git branch, tag, or commit
- #9124
#9124
Open
MustafizSaadi
wants to merge 8 commits into
aws:develop
aws/aws-sam-cli:develop
from
MustafizSaadi:3555-add-checkout-flag-for-sam-init-command-for-noncookiecutter-projects
MustafizSaadi/aws-sam-cli:3555-add-checkout-flag-for-sam-init-command-for-noncookiecutter-projects
Copy head branch name to clipboard
Conversation
Commits
8
(8)
Checks
Files changed
Open
feat(init): add --checkout option to sam init command for specifying git branch, tag, or commit
#9124
MustafizSaadi
wants to merge 8 commits into
aws:develop
aws/aws-sam-cli:develop
from
MustafizSaadi:3555-add-checkout-flag-for-sam-init-command-for-noncookiecutter-projects
MustafizSaadi/aws-sam-cli:3555-add-checkout-flag-for-sam-init-command-for-noncookiecutter-projects
Copy head branch name to clipboard
Commits
Commits on May 23, 2026
feat(init): add --checkout option to sam init command for specifying git branch, tag, or commit for cookiecutter projects
MustafizSaadi
committed
4b9e72a
View commit details
Copy full SHA for 4b9e72a
Browse repository at this point
Commits on May 28, 2026
feat(init): refactor checkout parameter in cli and do_cli methods
MustafizSaadi
committed
6acc848
View commit details
Copy full SHA for 6acc848
Browse repository at this point
Merge branch 'develop' into 3555-add-checkout-flag-for-sam-init-command
MustafizSaadi
authored
b30ba7a
View commit details
Copy full SHA for b30ba7a
Browse repository at this point
Commits on Jul 2, 2026
fix: add --checkout validation and integration tests
Show description for ff0236c
roger-zhangg
committed
ff0236c
View commit details
Copy full SHA for ff0236c
Browse repository at this point
Merge branch 'develop' into 3555-add-checkout-flag-for-sam-init-command
roger-zhangg
authored
d1319d7
View commit details
Copy full SHA for d1319d7
Browse repository at this point
ci: retrigger CI checks
roger-zhangg
committed
be2ae19
View commit details
Copy full SHA for be2ae19
Browse repository at this point
Commits on Jul 11, 2026
feat: add --checkout flag to generate_non_cookiecutter_project for branch/tag checkout
MustafizSaadi
committed
03dcae6
View commit details
Copy full SHA for 03dcae6
Browse repository at this point
feat: update integration tests for --checkout flag in init command for cookiecutter and non-cookiecutter projects
MustafizSaadi
committed
1a5f90f
View commit details
Copy full SHA for 1a5f90f
Browse repository at this point
You can’t perform that action at this time.